<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"    
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core">
    
    <h:head>
	<title>Market Grabber - New Order</title>
</h:head>

<h:body>
	<ui:composition template="./template.xhtml">
		<ui:define name="siteheader">
                New Order
        </ui:define>
		<ui:define name="leftmenu">
    		<li><h:link outcome="inbox">Inbox</h:link></li>
		</ui:define>

		<ui:define name="maincontent">
			<h:form id="orderform">
				<p>Select your items: <br />
				<label for="wood">Wood: </label>
				<h:inputText name="wood" id="wood" /><br />
				<label for="stone">Stone: </label>
				<h:inputText name="stone" id="stone" /><br />
				<label for="silver">Silver: </label>
				<h:inputText name="silver" id="silver" /><br />
				<label for="gold">Gold: </label>
				<h:inputText name="gold" id="gold" /><br />
				</p>
				<h:commandButton value="Submit" action="#{activiti.newOrderProcess()}" />
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>
